package com.myproject.thread.daemon;

public class DaemonThread extends Thread {

    @Override
    public void run() {
        System.out.println("daemon thread");;
    }

    @Override
    protected void finalize() throws Throwable {
        System.out.println("daemon thread over");;
    }
}
